package com.bhs.sansonglogistics.bean;

import androidx.annotation.NonNull;
import androidx.room.Entity;
import androidx.room.PrimaryKey;

@Entity
public class Driver {
    @NonNull
    @PrimaryKey//主键是否自动增长，默认为false
    private String plateNumber;


    public Driver(@NonNull String plateNumber) {
        this.plateNumber = plateNumber;
    }

    @NonNull
    public String getPlateNumber() {
        return plateNumber;
    }

    public void setPlateNumber(@NonNull String plateNumber) {
        this.plateNumber = plateNumber;
    }

}
